package com.haoze.nurse.dto;

import com.haoze.nurse.vo.NurseBook;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "护理记录列表返回对象")
public class NurseBookDTO {

    @ApiModelProperty(value="记录总数", name="total123", example="12")
    private long total; // 记录总数

    private List<NurseBook> list; // 返回文书全量

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<NurseBook> getList() {
        return list;
    }

    public void setList(List<NurseBook> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "NurseBookDTO{" +
                "total=" + total +
                ", list=" + list +
                '}';
    }
}
